package com.hyb.service;

import com.hyb.entity.Record;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hyb.page.PageReq;

import java.util.List;

/**
 * <p>
 *  交往记录Service接口
 * </p>
 *
 * @author hyb
 * @since 2021-12-29
 */
public interface RecordService extends IService<Record> {

    void createRecord(Record record);

    PageReq getRecords(Integer limit, Integer current, Integer customerId);

    Record getRecordByRecordId(Integer recordId);

    void updateRecord(Record record);

    void deleteRecordById(Integer recordId);
}
